<ion-view title="历史工单处理情况">  
<ion-content>
	<div class="list" style="margin-bottom:0;">

      <div class="item item-input-inset">
      <label class="input-label">
      开始日期
    </label>
    <label class="item-input-wrapper" style="background: none;">
      <input type="text" placeholder="选择日期" ng-model="starttime" name="starttime" readonly style="background: none;">
    </label>
    <i class="icon ion-ios-calendar-outline" ng-click="opendateModal(1)" style="font-size:30px;"></i>
  </div>

      <div class="item item-input-inset">
      <label class="input-label">
      截至日期
    </label>
    <label class="item-input-wrapper" style="background: none;">
      <input type="text" placeholder="选择日期" ng-model="endtime" name="endtime" readonly style="background: none;">
    </label>
    
    <i class="icon ion-ios-calendar-outline" ng-click="opendateModal(2)" style="font-size:30px;"></i>
  </div>


<div class="padding">
    
    <button class="button button-block button-positive"  ng-click='doquery()'>查询</button>
  </div>


	 
	</div>
  <div class="list">
<highchart id="chart1" config="chartConfig"></highchart>
</div>
	<div class="list">

        <div class="item item-divider row">
          	<div class="col">记录日期</div>
			  <div class="col">服务请求单</div>
			  <div class="col">故障单</div>
        </div>

        <div class="row item " style="padding:10px;" ng-repeat="item in scrollItems">
         
			  <div class="col">{{item.gendate}}</div>
			  <div class="col">{{item.servicereq}}</div>
			  <div class="col">{{item.event}}</div>
			 
        </div>
        

</div>
</ion-content>
</ion-view>
      